Native Multidimensional Indexing in Relational Databases
نویسندگان
چکیده
In existing database systems there is a strong need for searching data according to many attributes. In commercial database platforms, the standard search over multiple attributes is provided by B-tree (or it’s variants) with compound keys. On the other hand, such systems provide also multidimensional indexing, however, just for spatial purposes (such as GIS or CAD applications) and use special data types and querying syntax. In this paper we propose a native multidimensional method for indexing tables with simple attributes, such that multi-attribute queries can be processed (with standard SQL queries) more efficiently than by simple B-tree with compound keys. For implementation we have used the PostgreSQL and Rtree-based index, though our method is applicable to any other multidimensional indexing method. With this combination we outperformed commercial platforms (Oracle, SQL Server) by an order of magnitude in the number of accesses to index. As a by-product, a framework for easy implementation of external indexing methods into PostgreSQL was designed.
منابع مشابه
Indexing Methods for XML Documents
There has been much research about XML storage and information retrieval. Traditionally XML documents are mapped onto relational databases. Then the data can be queried by relational queries. Nowadays many digital libraries store XML documents in a native XML database. Native means that the documents are stored and retrieved in their original format. An important task of such a database is inde...
متن کاملThe Transbase Hypercube RDBMS: Multidimensional Indexing of Relational Tables
Only few multidimensional access methods have made their way into commercial relational DBMS. Even if a RDBMS ships with a multidimensional index, the multidimensional index usually is an add-on like Oracle SDO, which is not integrated into the SQL interpreter, query processor and query optimizer of the DBMS kernel. Our demonstration shows TransBase HyperCube, a commercial RDBMS, whose kernel f...
متن کاملMultidimensional indexing and querying of XML in digital libraries and relational database systems
The rise of XML (Extensible Markup Language) as a new universal data format created the demand to store XML with established relational database technology. This became even more important as application fields of relational databases like digital library systems also turned towards a massive use of XML. This work presents an approach to map XML data to a relational schema. The mapping uses an ...
متن کاملEecient Access Methods for Multidimensional Data
Interest in multidimensional data has been steadily rising in the database community. Storage and subset retrieval of multi-dimensional data is necessary for scienti c, geographic, temporal and business data. Our research has concentrated on developing techniques for e cient loading, retrieval, and update of multi-dimensional data. Current commercial systems (with the exception of one) do not s...
متن کاملOLAP query optimization : A Framework for Combining Rule-Based and Cost-Based Approaches
To optimize queries in relational databases, two categories of optimization techniques have been proposed : the Rule-Based Approach (RBA), and the Cost-Based Approach (CBA). In the RBA, the optimizer uses rule transformations using the relational algebra. In the CBA, the optimizer uses a cost model to estimate the potential cost of each operation using statistics about the database and the tabl...
متن کامل